package org.csu.jpetstorespringversion.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.csu.jpetstorespringversion.model.Order;

import java.util.List;

public interface OrdersService extends IService<Order> {
    public int getNextId(String name);
    public void insertOrder(Order order);
    public Order getOrder(int orderId);
    public List<Order> getOrdersByUsername(String username);
    void insertOrderStatus(Order order);
}
